'Declaration Public Function Validate( _ ByVal obj As T _ ) As IEnumerable(Of Tuple(Of Boolean,String))
public IEnumerable<Tuple<bool,string>> Validate( T obj )
Parameters
- obj
- Object to validate
Return Value
Validation result as Tuple<bool, string> where Item1 - is a boolean that says whether the validation succeeded, Item2 - a collection of error messages about any validation failures